<template>
    <div class="tmpl">
        <subComment1 :artid="goodsid"></subComment1>
    </div>
</template>
<style scoped>

</style>
<script>
    import  subComment1 from '../SubComp/subComment.vue'
    export default{
        data(){
            return{
                goodsid:0 //这是商品id
            }
        },
        methods:{

        },
        created(){
            this.goodsid = this.$route.params.id;
        },
        components:{
            subComment1
        }
    }
</script>